package cn.xyafu.lost.pojo;

/**
 * 私信消息实体类
 */
public class News {
	private int nid;
	private User send;	//发送人
	private User receive;	//接收人
	private String nmsg;		//私信内容
	private String ndate;		//发送时间
	
	public int getNid() {
		return nid;
	}
	public void setNid(int nid) {
		this.nid = nid;
	}

	public User getSend() {
		return send;
	}

	public void setSend(User send) {
		this.send = send;
	}

	public User getReceive() {
		return receive;
	}

	public void setReceive(User receive) {
		this.receive = receive;
	}

	public String getNmsg() {
		return nmsg;
	}
	public void setNmsg(String nmsg) {
		this.nmsg = nmsg;
	}
	public String getNdate() {
		return ndate;
	}
	public void setNdate(String ndate) {
		this.ndate = ndate;
	}

	@Override
	public String toString() {
		return "News{" +
				"nid=" + nid +
				", send=" + send +
				", receive=" + receive +
				", nmsg='" + nmsg + '\'' +
				", ndate='" + ndate + '\'' +
				'}';
	}
}
